package com.ccom.api.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author zjj
 * @date 2021/10/29 16:21
 * @description
 */
@Data
@AllArgsConstructor
@ApiModel(value = "登录成功返回对象", description = "登录成功返回对象")
public class LoginVo {

    @ApiModelProperty(value = "token")
    private String token;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "返回用户信息")
    private UserVo user;
}
